package com.alibaba.org.service;

import com.alibaba.basic.service.IBaseService;
import com.alibaba.org.domain.Shop;
import com.alibaba.org.domain.ShopAuditLog;
import com.alibaba.org.dto.ShopDto;

import javax.mail.MessagingException;
import java.util.List;

/**
 * 业务接口：员工
 */
public interface IShopService extends IBaseService<Shop>{

    void settlement(Shop shop);

    void pass(ShopAuditLog log) throws MessagingException;

    void reject(ShopAuditLog log) throws MessagingException;

    void active(Long id) ;

    List<ShopDto> getShopState();
}
